﻿<%@ control language="C#" autoeventwireup="true" inherits="_modules_complaints_ucComplaints, App_Web_lvlwlbuv" %>
<table id="complaints" border="0" cellpadding="2" cellspacing="0" class="content" style="width:1281px; float:left;">
    <thead class="tableHeader">
        <tr>
            <td style="width: 110px; text-align: center; font-size:11px; font-weight:600;">
                ID
            </td>
            <td style="width: 175px; text-align: center; font-size:11px; font-weight:600;">
                Customer
            </td>
            <td style="width: 200px; text-align: center; font-size:11px; font-weight:600;">
                Address & Contacts
            </td>
            <td style="width: 175px; text-align: center; font-size:11px; font-weight:600;">
                Route
            </td>
            <td style="width: 200px; text-align: center; font-size:11px; font-weight:600;">
                Product
            </td>
            <td style="width: 250px; text-align: center; font-size:11px; font-weight:600;">
                Complaints
            </td>
            <td style="width: 110px; text-align: center; font-size:11px; font-weight:600;">
                Date
            </td>
            <td style="width: 120px; text-align: center; font-size:11px; font-weight:600;">
                Status
            </td>
            <td style="width: 50px; text-align: center; font-size:11px; font-weight:600;">
            </td>
            <td style="width: 50px; text-align: center; font-size:11px; font-weight:600;">
            </td>
        </tr>
    </thead>
    <tbody style="font-size: 11px;">
        <asp:Repeater ID="rptrComplaints" runat="server">
            <ItemTemplate>
                <tr rowid='<%# Eval("compid") %>' cusid='<%# Eval("cusid") %>'>
                    <td class="alignCenter">
                        <asp:Label ID="lblIssueID" runat="server" Text='<%# Eval("issueid") %>'></asp:Label>
                    </td>
                    <td class="alignCenter">
                        <asp:Label ID="lblName" runat="server" Text='<%# Eval("name") %>'></asp:Label>
                    </td>
                    <td class="alighLeft">
                        <asp:Label ID="lblAddress" runat="server" Text='<%# Eval("address") %>'></asp:Label><br />
                        <asp:Label ID="lblLocation" runat="server" Text='<%# Eval("location") %>'></asp:Label><br />
                        <b>Landmark:</b>&nbsp;<asp:Label ID="lblLandmark" runat="server" Text='<%# Eval("landmark") %>'></asp:Label><br />
                        <asp:Label ID="lblState" runat="server" Text='<%# Eval("state") %>'></asp:Label>
                        -
                        <asp:Label ID="lblPostcode" runat="server" Text='<%# Eval("postcode") %>'></asp:Label><br />
                        <asp:Label ID="lblMobile" runat="server" Text='<%# Eval("mobile") %>'></asp:Label>/<asp:Label
                            ID="lblLandline" runat="server" Text='<%# Eval("landline") %>'></asp:Label>
                    </td>
                    <td class="alignCenter">
                        <asp:Label ID="lblRoute" runat="server" Text='<%# Eval("route") %>'></asp:Label>
                    </td>
                    <td class="alignCenter">
                        <asp:Label ID="lblProduct" runat="server" Text='<%# Eval("product") %>'></asp:Label>
                    </td>
                    <td class="alignCenter">
                        <asp:Label ID="lblCompDesc" runat="server" Text='<%# Eval("complaintdesc") %>'></asp:Label>
                    </td>
                    <td class="alignCenter">
                        <asp:Label ID="lblScheduleDt" runat="server" Text='<%# Eval("scheduledt") %>'></asp:Label>
                    </td>
                    <td class="alignCenter">
                        <asp:Label ID="lblStatus" runat="server" Text='<%# Eval("compstatus") %>'></asp:Label>
                    </td>
                    <td class="alignCenter">
                        <div rowid='<%# Eval("compid") %>' cusid='<%# Eval("cusid") %>' class="editRow" onclick="fnUpdateComplaintDetails(this);">
                        </div>
                    </td>
                    <td style="text-align: center;">
                        <div rowid='<%# Eval("compid") %>' cusid='<%# Eval("cusid") %>' class="viewDetail" onclick="fnViewComplaintDetails(this);">
                        </div>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </tbody>
</table>
<asp:HiddenField ID="hidIsSpare" runat="server" />
